package com.hp.springioc01;

import org.springframework.stereotype.Component;

/**
 * 金士顿的内存
 */
@Component
public class KingstonMemory implements Memory {
    public void read() {
        System.out.println("用金士顿的内存读取数据");
    }

    public void write() {
        System.out.println("用金士顿的内存保存数据");
    }
}
